package com.ruoyi.wx.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author moxiu
 * @since 2021-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pt_class_exp")
@ApiModel(value="PtClassExp对象", description="")
public class PtClassExp implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "class_exp_id", type = IdType.AUTO)
    private Long classExpId;

    @ApiModelProperty(value = "班级id")
    @TableField("class_id")
    private Long classId;

    @ApiModelProperty(value = "实验id")
    @TableField("exp_id")
    private Long expId;

    @ApiModelProperty(value = "实验序号（第N次实验）")
    @TableField("exp_num")
    private Integer expNum;

    @ApiModelProperty(value = "用于判断做该实验的是班级前半部分学生还是后半部分（0：前半部分，1：后半部分）")
    @TableField("part")
    private Boolean part;

    @ApiModelProperty(value = "是否启用（1：启用；0：禁用）")
    @TableField("is_enable")
    private Boolean isEnable;


}
